package top.deepdesigner.service;

import top.deepdesigner.dto.PermissionsDTO;

import java.util.Set;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/20 星期二 19:14:45 <br/>
 */
public interface DtsPermissionService {
  Set<String> getPermissionsByRoleId(Integer[] roleIds);

  Set<String> getPermissionsByRoleId(Integer roleId);

  Boolean updatePermissionByRoleId(PermissionsDTO permissionsDTO);
}
